#!/bin/bash

TMPFILE=$(mktemp)
ls *.nml | sort | xargs cat > $TMPFILE
nmlc "${@}" $TMPFILE && rm $TMPFILE

